const { merge } = require('webpack-merge')
const common = require('./webpack.common.js'); //引入公共配置

module.exports =merge(common, {
  mode: "production",
  devtool: "cheap-source-map",
  output: {
    path: path.resolve(__dirname, '../dist'),
    filename: "[name].[chunkhash].bundle.js"
},
});
